<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script>
    const xhr = new XMLHttpRequest();
    xhr.responseType = "json";
    xhr.open("get","http://zhangpeiyue.com/maoyan");
    xhr.send();
    xhr.onload = function(){
        console.log(xhr.response.data.hot);
    }
</script>
</html>